package com.me.videoservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.me.videoservice.model.entry.DeviceInfo;
import com.me.videoservice.model.entry.DeviceInfoWithStream;
import java.util.List;

public interface DeviceInfoService extends IService<DeviceInfo> {

  List<DeviceInfo> queryAll();

  List<DeviceInfo> queryAllDeviceInfoWithLocation();

  Integer exist(String stream);

  boolean saveDevice(DeviceInfo deviceInfo);

  Integer checkClientAndStreamExist(String clientId, String stream);

  List<DeviceInfoWithStream> queryAllInfoWithPublish();

}
